<?php




use Illuminate\Support\Facades\Route;
use App\Http\Controllers\LanguageController;
use App\Http\Controllers\Typecontroller;
use App\Http\Controllers\CountryController;
use App\Http\Controllers\MovieController;
use App\Http\Controllers\PageController;

//后端部分
route::get("login","PageController@login");


//route::get("/","PageController@index");
//route::get("base","PageController@base");
//route::get("page","PageController@page");


route::get("addtype","TypeController@addtype");
route::post("typeinsert","TypeController@typeinsert");
route::get("types","TypeController@types");
route::get("updatetype","TypeController@updatetype");
route::get("deletetype","TypeController@deletetype");



route::get("addlangauge","LanguageController@addlangauge");
route::get("langs","LanguageController@langs");
route::get("langinsert","LanguageController@langinsert");
route::get("updatelang","LanguageController@updatelang");
route::get("deletelang","LanguageController@deletelang");



route::get("addcountry","CountryController@addcountry");
route::get("countrys","CountryController@countrys");
route::get("updatecountry","CountryController@updatecountry");
route::get("deletecountry","CountryController@deletecountry");
route::get("insertcountry","CountryController@insertcountry");



route::get("addmovie","MovieController@addmovie");
//route::get("movies","MovieController@movies");
route::get("updatemovie","MovieController@updatemovie");
route::get("deletetmovie","MovieController@deletetmovie");
route::post("insertmovie","MovieController@insertmovie");
Route::get("kino","MovieController@kino");



Route::get("front","UserController@front");




//前端部分
Route::get("index","UserController@index");
Route::get("play","UserController@play");
